<?php
/**
 * Created by PhpStorm.
 * User: sunzexin
 * Date: 2018/1/4
 * Time: 14:59
 */

namespace App\Http\Traits;


use Illuminate\Http\Request;

trait PartyPhotoTrait
{
    use BaseTrait;

    // 图片
    protected $photo_list_str;

    // 活动ID
    protected $party_id;

    public function __construct(Request $request)
    {
        $this->photo_list_str = $request->input('photo_list_str', '');
        $this->party_id = $request->input('party_id', 0);
    }
}